package cn.edu.gues.infosystam.service;

import cn.edu.gues.infosystam.entity.Student;
import cn.edu.gues.infosystam.entity.Task;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 苏小小
 * @since 2020-06-11
 */
public interface TaskService extends IService<Task> {
    IPage<Task> getTaskList(Page<Task> page, QueryWrapper<Task> queryWrapper);

    IPage<Student> getTaskDetail(Page<Student> page, Integer taskId);

    Integer getTaskDetailReportTotal(Integer taskId);

}
